/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="UNIDADEDOSES")
public class UnidadeDosesProteu implements Serializable{

    @Id
    @Column(name="UND_IN_CODIGO")
    private Integer undInCodigo;
    @Column(name="UND_ST_DESC_DETALHE")
    private String undStDescDetalhe;
    @Column(name="UND_ST_DESCRICAO")
    private String undStDescricao;
    @Column(name="UND_CH_CONCENTRACAO")
    private String undChConcentracao;
    @Column(name="UND_CH_PRESCRICAO")
    private String undChPrescricao;
    @Column(name="UND_CH_PRE_QUIMIO")
    private String undChPreQuimio;
    @Column(name="UND_CH_COMERCIAL")
    private String undChComercial;
    @Column(name="UND_CH_RECOMPOSICAO")
    private String undChRecomposicao;
    @Column(name="UND_CH_VELOCIDADE")
    private String undChVelocidade;
    @Column(name="UND_CH_VELO_INFUSAO")
    private String undChVeloInfusao;
    @Column(name="UND_CH_VOLUME")
    private String undChVolume;
    @Column(name="UND_CH_PESO")
    private String undChPeso;
    @Column(name="UND_CH_MASSA")
    private String undChMassa;
    @Column(name="USU_IN_CODIGO")
    private Integer usuInCodigo;
    @Column(name="UND_DT_ALTERACAO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date undDtAlteracao;


    public String getUndChComercial() {
        return undChComercial;
    }

    public void setUndChComercial(String undChComercial) {
        this.undChComercial = undChComercial;
    }

    public String getUndChConcentracao() {
        return undChConcentracao;
    }

    public void setUndChConcentracao(String undChConcentracao) {
        this.undChConcentracao = undChConcentracao;
    }

    public String getUndChMassa() {
        return undChMassa;
    }

    public void setUndChMassa(String undChMassa) {
        this.undChMassa = undChMassa;
    }

    public String getUndChPeso() {
        return undChPeso;
    }

    public void setUndChPeso(String undChPeso) {
        this.undChPeso = undChPeso;
    }

    public String getUndChPreQuimio() {
        return undChPreQuimio;
    }

    public void setUndChPreQuimio(String undChPreQuimio) {
        this.undChPreQuimio = undChPreQuimio;
    }

    public String getUndChRecomposicao() {
        return undChRecomposicao;
    }

    public void setUndChRecomposicao(String undChRecomposicao) {
        this.undChRecomposicao = undChRecomposicao;
    }

    public String getUndChVeloInfusao() {
        return undChVeloInfusao;
    }

    public void setUndChVeloInfusao(String undChVeloInfusao) {
        this.undChVeloInfusao = undChVeloInfusao;
    }

    public String getUndChVelocidade() {
        return undChVelocidade;
    }

    public void setUndChVelocidade(String undChVelocidade) {
        this.undChVelocidade = undChVelocidade;
    }

    public String getUndChVolume() {
        return undChVolume;
    }

    public void setUndChVolume(String undChVolume) {
        this.undChVolume = undChVolume;
    }

    public String getUndChPrescricao() {
        return undChPrescricao;
    }

    public void setUndChPrescricao(String undChPrescricao) {
        this.undChPrescricao = undChPrescricao;
    }

    public Date getUndDtAlteracao() {
        return undDtAlteracao;
    }

    public void setUndDtAlteracao(Date undDtAlteracao) {
        this.undDtAlteracao = undDtAlteracao;
    }

    public Integer getUndInCodigo() {
        return undInCodigo;
    }

    public void setUndInCodigo(Integer undInCodigo) {
        this.undInCodigo = undInCodigo;
    }

    public String getUndStDescDetalhe() {
        return undStDescDetalhe;
    }

    public void setUndStDescDetalhe(String undStDescDetalhe) {
        this.undStDescDetalhe = undStDescDetalhe;
    }

    public String getUndStDescricao() {
        return undStDescricao;
    }

    public void setUndStDescricao(String undStDescricao) {
        this.undStDescricao = undStDescricao;
    }

    public Integer getUsuInCodigo() {
        return usuInCodigo;
    }

    public void setUsuInCodigo(Integer usuInCodigo) {
        this.usuInCodigo = usuInCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final UnidadeDosesProteu other = (UnidadeDosesProteu) obj;
        if (this.undInCodigo != other.undInCodigo && (this.undInCodigo == null || !this.undInCodigo.equals(other.undInCodigo))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 53 * hash + (this.undInCodigo != null ? this.undInCodigo.hashCode() : 0);
        return hash;
    }



}
